package com.yuanye.yeecho.bean;

public class KeyDataBean {

    public static final int PASS = 0;
    public static final int FAIL = 1;

    private String unitName;//测试项名称
    private String paramName;//测试指标名称
    private int res;//测试结果 0 pass/ 1 fail
    private String resDesc;//测试指标的详细描述
    private String resValue;//具体指标值
    private String testTime;//指标的具体测试时间

    public KeyDataBean(String paramName) {
        this.paramName = paramName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public int getRes() {
        return res;
    }

    public void setRes(int res) {
        this.res = res;
    }

    public String getResDesc() {
        return resDesc;
    }

    public void setResDesc(String resDesc) {
        this.resDesc = resDesc;
    }

    public String getResValue() {
        return resValue;
    }

    public void setResValue(String resValue) {
        this.resValue = resValue;
    }

    public String getTestTime() {
        return testTime;
    }

    public void setTestTime(String testTime) {
        this.testTime = testTime;
    }

    @Override
    public String toString() {
        return "KeyDataBean{" +
                "unitName='" + unitName + '\'' +
                ", paramName='" + paramName + '\'' +
                ", res=" + res +
                ", resDesc='" + resDesc + '\'' +
                ", resValue='" + resValue + '\'' +
                ", testTime='" + testTime + '\'' +
                '}';
    }
}
